package com.wyzz.hr.pojo;

import java.util.Date;

import com.wyzz.hr.pojo.base.BaseDepthist;

public class Depthist extends BaseDepthist {

	public Depthist() {
	}

	public Depthist(String id) {
		super(id);
	}

	public Depthist(String id, Department dhiDeptNo, Department dhiDeptSupId,
			String dhiDeptName, Integer dhiDeptStatus, Date dhiValidFrom) {
		super(id, dhiDeptNo, dhiDeptSupId, dhiDeptName, dhiDeptStatus,
				dhiValidFrom);
	}

	public Department assembleDeptByDh() {
		Department dept = new Department();
		dept.setId(getDhiDeptNo().getId());
		dept.setDepartmentName(getDhiDeptName());
		dept.setDepartmentParentId(getDhiDeptSupId());
		return dept;
	}

	private static final long serialVersionUID = 1L;
}
